//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01B
TN_Widget.CreateTable([['Josh Gates','Orpheum Theatre - Madison ','Madison, WI','Friday','5/31/2024','8:00 PM','6296009','Josh-Gates-5-31-2024'],['Night Ranger','Orpheum Theatre - Madison ','Madison, WI','Saturday','6/8/2024','8:00 PM','6387684','Night-Ranger-6-8-2024'],['A.C.E','Orpheum Theatre - Madison ','Madison, WI','Wednesday','6/19/2024','8:00 PM','6323473','A-C-E-6-19-2024'],['Keb Mo','Orpheum Theatre - Madison ','Madison, WI','Saturday','6/22/2024','8:00 PM','6247501','Keb-Mo-6-22-2024'],['Bruce Hornsby And The Noisemakers','Orpheum Theatre - Madison ','Madison, WI','Friday','7/12/2024','8:00 PM','6306821','Bruce-Hornsby-And-The-Noisemakers-7-12-2024'],['Chris Botti','Orpheum Theatre - Madison ','Madison, WI','Thursday','7/18/2024','8:00 PM','6217735','Chris-Botti-7-18-2024'],['Pod Save America','Orpheum Theatre - Madison ','Madison, WI','Friday','7/19/2024','7:00 PM','6319901','Pod-Save-America-7-19-2024'],['Three Dog Night','Orpheum Theatre - Madison ','Madison, WI','Thursday','8/1/2024','8:00 PM','6069507','Three-Dog-Night-8-1-2024'],['Whose Live Anyway?','Orpheum Theatre - Madison ','Madison, WI','Tuesday','9/10/2024','8:00 PM','6418681','Whose-Live-Anyway--9-10-2024'],['Noel Miller','Orpheum Theatre - Madison ','Madison, WI','Thursday','9/12/2024','7:00 PM','6262338','Noel-Miller-9-12-2024'],['Whose Live Anyway?','Orpheum Theatre - Madison ','Madison, WI','Friday','9/20/2024','8:00 PM','6298479','Whose-Live-Anyway--9-20-2024'],['Jeff Arcuri','Orpheum Theatre - Madison ','Madison, WI','Saturday','9/21/2024','7:00 PM','6395776','Jeff-Arcuri-9-21-2024'],['Jeff Arcuri','Orpheum Theatre - Madison ','Madison, WI','Saturday','9/21/2024','9:30 PM','6410516','Jeff-Arcuri-9-21-2024'],['Ben Folds','Orpheum Theatre - Madison ','Madison, WI','Wednesday','10/9/2024','8:00 PM','6416164','Ben-Folds-10-9-2024'],['Giggly Squad Podcast','Orpheum Theatre - Madison ','Madison, WI','Friday','10/25/2024','7:00 PM','6396786','Giggly-Squad-Podcast-10-25-2024'],['Giggly Squad Podcast','Orpheum Theatre - Madison ','Madison, WI','Friday','10/25/2024','9:30 PM','6414315','Giggly-Squad-Podcast-10-25-2024'],['BEAT - Belew/Vai/Levin/Carey Play 80s King Crimson','Orpheum Theatre - Madison ','Madison, WI','Sunday','11/3/2024','8:00 PM','6356809','BEAT---Belew-Vai-Levin-Carey-Play-80s-King-Crimson-11-3-2024'],['Dane Cook','Orpheum Theatre - Madison ','Madison, WI','Friday','11/8/2024','7:30 PM','6412234','Dane-Cook-11-8-2024'],['Girls Gotta Eat','Orpheum Theatre - Madison ','Madison, WI','Saturday','11/16/2024','8:00 PM','6354210','Girls-Gotta-Eat-11-16-2024']],'Orpheum Theatre Madison','http://www.ticketnetwork.com/ticket/Orpheum-Theatre-Madison-events.aspx');